package com.fwindcore.wheretorun;

import com.badlogic.gdx.Game;
import com.badlogic.gdx.Screen;
import com.fwindcore.screen.LoadScreen;
//import com.badlogic.gdx.Gdx;

public class MyGdxGame extends Game {

	private Screen screen;
		
	@Override
	public void create() {		
//		float w = Gdx.graphics.getWidth();
//		float h = Gdx.graphics.getHeight();
		
		
		
		screen = new LoadScreen(this);
		this.setScreen(screen);
	}
	
	public void reStart(){
		
		this.setScreen(new LoadScreen(this));
	}
	
	public void exit(){
		this.getScreen().dispose();
		this.dispose();
		System.exit(0);
		
	}
	
	
	@Override
	public void pause() {
		// TODO Auto-generated method stub
		super.pause();
		
	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub
		super.resume();
	}
	

}
